package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.SopTaskDeviceConfig;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SopTaskDeviceConfigMapper {
    int deleteById(@Param("id") Long id);

    int insert(SopTaskDeviceConfig record);

    int insertSelective(SopTaskDeviceConfig record);

    SopTaskDeviceConfig selectById(@Param("id") Long id);

    SopTaskDeviceConfig selectByDeviceUniqueId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("merId") Long merId);

    int updateByIdSelective(SopTaskDeviceConfig record);

    int updateById(SopTaskDeviceConfig record);
}